import timm
from pprint import pprint

# 获取具有允训练权重的分类模型
model_names = timm.list_models(pretrained=True)
pprint(model_names)

# 获取具有
# import timm
# from pprint import pprint
# model_names = timm.list_models('*resne*t*')
# pprint(model_names)